﻿<Window x:Class="WPF101_Windows_Dialogs.CustomMediaPlayerWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Custom Media Player Window" Height="300" Width="300"
    Activated="Window_Activated"
    Deactivated="Window_Deactivated"
    Closing="Window_Closing"
    ResizeMode="CanResizeWithGrip"
    WindowStyle="None"
    Background="Transparent"
    ShowInTaskbar="False"
        >
    <StackPanel>
        <Menu>
            <MenuItem Header="_File">
                <MenuItem Header="E_xit" Click="MenuItem_Click" />
            </MenuItem>
            <MenuItem Header="_Play" Click="Play"></MenuItem>
        </Menu>

        <!-- Media Player -->
        <MediaElement 
      Name="mediaElement" 
      Stretch="Fill" 
      LoadedBehavior="Manual" 
      Source=".\bear.wmv" />
    </StackPanel>
</Window>
